package com.song.dao;

import com.song.pojo.dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author Klys
 * @Date 2022/3/15 11:34
 * @Version 1.0
 */
@Mapper
@Repository
public interface deptDao {

    public boolean addDept(dept dept);

    public dept queryById(Long id);

    public List<dept> queryAll();
}
